﻿# 参数传递
# encoding:utf-8
import traceback

g = 1

def fun():
    g = 5
    return g

def funGlobal():
    global g
    g = 5

print(g)
g = fun()
print(g)
funGlobal()
print(g)